package com.woniuxy.dao;

import com.woniuxy.pojo.Dictionary;

import java.util.List;

public interface DictionaryMapper {

    public List<Dictionary> selectAllDics();

    public List<Dictionary> selectLevOne();

    public List<Dictionary> selectLevTwo();

    public List<Dictionary> selectLevThree();

    public int insertDictionary(Dictionary dictionary);

    public Dictionary selectDicByName(String name);

    public List<Dictionary> selectDicsWithPname(Dictionary dictionary);

    public List<Dictionary> selectDicsByPid(int id);

    public Dictionary selectDeptBynoStepInDic(int id);

    public Dictionary selectPostBynoStepInDic(int id);

    public List<Dictionary> selectAllDeptsInDic();

    public List<Dictionary> selectAllPostsInDic();

}
